Action

public final class Action extends AsyncCallbackAction<R>

An action providing a response to the RequestPermissionCallback.

Constructors

Link copied to clipboard
public void RequestPermissionCallback.Action(Consumer<RequestPermission.Response> consumer)

Functions

Link copied to clipboard
public void deny()
Notifies the browser that the requested permission should be denied.
Link copied to clipboard
public void grant()
Notifies the browser that the requested permission should be granted.
Link copied to clipboard
public final boolean isClosed()
Returns true if this action is closed.